package com.ang.exception.t1;

public class DemoService {

    public String getStr(int i){
        if(i==5){
            throw new RuntimeException("i==5，导致异常");
        }

        return "结果："+i;
    }
}
